#include "./../../lvgl/lvgl.h"
#include "./../../lvgl/demos/lv_demos.h"
#include "./../../lv_drivers/display/fbdev.h"
#include "./../../lv_drivers/indev/evdev.h"
#include <unistd.h>
#include <pthread.h>
#include <time.h>
#include <sys/time.h>

#include "./../../inc/homePage.h"
#include "./../../inc/album.h"
#include "./../../inc/page_manager.h"
#include "./../../inc/setting.h"
#include "./../../inc/login.h"

void show_volume_card(lv_obj_t * parent)
{
    volume_mode_card = lv_obj_create(parent);
    lv_obj_set_style_pad_all(volume_mode_card, 0, 0);
    lv_obj_set_style_border_width(volume_mode_card, 0, LV_PART_MAIN);
    lv_obj_set_size(volume_mode_card, 700, 390);
    lv_obj_clear_flag(volume_mode_card, LV_OBJ_FLAG_SCROLLABLE); // 不可滚动

    lv_obj_set_style_bg_opa(volume_mode_card, LV_OPA_0, LV_PART_MAIN);     // 设置背景完全透明
    lv_obj_set_style_border_opa(volume_mode_card, LV_OPA_0, LV_PART_MAIN); // 设置边框透明
    lv_obj_set_style_shadow_opa(volume_mode_card, LV_OPA_0, LV_PART_MAIN); // 设置阴影透明
}